<?php
include ("conn.php");
$pinpai = $_POST['pinpai'];
$thsc = $_POST['thsc'];
$ll = $_POST['ll'];
$jg = $_POST['jg'];
$stmt = $conn -> prepare("insert into result(pinpai,thsc,ll,jg) values(?,?,?,?)");
$stmt -> bind_param("sssi",$pinpai,$thsc,$ll,$jg);
$stmt->execute();
if($conn->affected_rows){
	echo "添加成功！";
}else{
	echo "Error: " . $conn ->error;
	}
	$stmt ->close();
	$conn ->close();